<ul {if $catid==41||$catid==40}class="p8_0"{/if}>
{loop $tags $i $t}
<li><i></i>{if $showcat}<a href="{$t[caturl]}"{if $target} target="{$target}"{/if}{if $class} class="{$class}"{/if}>[{$t[catname]}]</a> {/if}<a href="{$t[linkurl]}"{if $target} target="{$target}"{/if}{if $class} class="{$class}"{/if} title="{$t[alt]}">{dsubstr($t[title], 30, '...')}</a></li>
{/loop}
</ul>
{if $showpage && $pages}<div class="pages">{$pages}</div>{/if}